package eleanor.ltd.isRealEstate.services;

import eleanor.ltd.isRealEstate.entities.user.User;
import eleanor.ltd.isRealEstate.security.AuthenticationException;

public interface Authenticator {

	public User getLoggedUser();

    public boolean isLoggedIn();

    public void login(String username, String password) throws AuthenticationException;

    public void logout();
    
    public boolean isAdmin();
  
    
}
